<template>
	<view class="content">
		<image class="no-data-image" mode="widthFix" :src="src"></image>
		<view class="txt">{{txt}}</view>
	</view>
</template>
<script>
export default {
	name: 'NoData',
	data() {
		return {
		};
	},
	props: {
		src: {
			type: String,
			default: ''
		},
		txt: {
			type: String,
			default: ''
		},
	}
};
</script>

<style lang="scss" scoped>
	.no-data-image{
		width:300rpx;
		height:300rpx;
		display: block;
		margin:0 auto;
	}
	.txt{
		text-align:center;
		font-size:28rpx;
		color:#999;
		padding-top:20rpx;
	}
</style>
